package com.javalei.util;

import java.util.UUID;

/**
 * Created by wuyanzu on 2017/4/18.
 */
public class Util {

    /**
     *  根据count数量生成uuid
     * @param count
     * @return
     */
    public static  String getUUid(int count){
        String uuid=UUID.randomUUID().toString().replace("-","");
        if(count==1)
            return uuid;
        else
            return uuid+UUID.randomUUID().toString().replace("-","");
    }
}
